package com.xianzhi.dao;

import com.xianzhi.bean.Ad;

import java.sql.SQLException;

public interface AdDao {
    /**
     * 根据id 查询信息
     * @param id
     * @return
     * @throws SQLException
     */
    public Ad findUserById(int id) throws SQLException;
}
